package lab02.test07;

public class Test {
    public static void main(String[] args) {
        Person li=new Person();
        li.name="李武";
        li.age=25;
        li.idcard="510145199201054931";
        System.out.println(li.getString());


        Student zhang=new Student();
        zhang.name="张葵";
        zhang.age=20;
        zhang.idcard="510145199712075240";
        zhang.sno="1611601427";
        zhang.university="四川旅游学院";
        System.out.println(zhang.getString());
    }
}
